fix path preview after vertical movement.