Attempted fix at devices without navigation bar.