Fixed Tank Rotation about Z-Axis

Previously in weird situations it was possible to get the tank to rotate
about the z-axis. This meant that it was no longer hovering properly and
also could not aim its turret or gun barrel. This has now been fixed.