fix edge case in _normalizeAngle
format
should reset initialMagneticHeading after stop in game.js