Previously opening a PopupMenu and then clicking somewhere outside the application would cause the mouse button representation to be stuck in a down state.