fix #28236: Crash when you drag-drop a barline in the last measure