Fixed the FPS regulator