Better handling of tab controls
Better handling of tab controls by detecting which region event occurred in (avoid tabbing in 3D object view)