Only draw graphics in the tab that is currently visible.
Only draw graphics in the tab that is currently visible.