Fix minor flicker when toggling out of edit mode after moving in edit mode.