You coded the ghost to only go to the mouse's x so I just made it so it followed the mouse's y as well!