Cache VSync FPS in global variable for use in the wait condition