Modify window movement.