On a device with a hardware menu key, an empty overflow window can be displayed if there are no items in said overflow menu. This leads to the next user touch being swallowed in the action of dismissing the invisible window. Change-Id: I9191e4b2e1ed4888e4bc7261e8b3f095a272a9b5