Fixed action bar icon hiding. Works correctly.