I get lag only at the beginning of the shatters, and once I finish the last switch in the beginning of the shatters and the gate opens, all the lag goes away. How can I fix the lag?