Forgot to add the pane to the tab instead. Fixed.