Smooth out detected FPS changes.

Helps reduce uneven FPS rates and sound effect glitches during transitions
(e.g. between a 30 fps scene and a 60 fps menu, or etc.)
Merge pull request #5195 from unknownbrackets/display-minor

Smooth out detected FPS changes