Reset the frame counting when the window get focused (this is because when the window is blur the animationFrame wont work causing a drop in the 'fps' report)