Allow hiding of navigation bar only in case Pie controls are enabled