Fixing rounding errors in the HUD and wiring diagram bug