Heading bug

Fixed bug preventing movement in negative directions