Document OnHudScaled().
Clean up conversion warning.
Clean up conversion warnings.