Combining oninput and onchange events for the FPS counter.