Improve character move handler.