Fix move wrong x point when move up/down.