Bug 1059650 - Prevent currentTab being set to null