FPS timer added to cap framerate