Movement code fix.