FPS sync and exit game fix