Disable the 3d option (if needed) on tab creation. Re #7902
Merge remote-tracking branch 'origin/bugfix/7902_opengl_3d_option'