prevent an error when switching sections after using the reorder panes overlay