fps_n and _d values can be large and this can overflow a uint. Also fix copy'n'paste mistake in comments.