Fixed crash when FPS detection does not work