Use round() rather than MathUtils::round_int() for time, and modulate to unsigned int. Fixes #14205