Setting up FPS based on timers