Addressed small race condition bug in tab bar portal.