Ignore ActionBar events when the ActionBar's activity isn't visible