GUI: Fix critical when dragging pane divider too far.