Fix bad initialization for moveX and moveY