Fixed problems with axis movement