Performance bug fix

fixed a bug where after 25seconds of playing, the frame rate would drop
to ~15 fps. Now the game maintains a consistent 55-60fps.