made game refresh at 30 FPS