Corrected movement changes. Forgot to move if isDashing function