If new pane is created, make it the active pane

This is for #9255 

cc @JeffryBooher 
This happens when you click either "Split Vertically" or "Split Horizontally" in menu when it's already the current state (i.e. has a check mark).