Adding FPS limitation