Check if tabBar is hidden when calculating the keyboard height.