Fix move dirs and perform_slide for piece.