Check tabBar is hidden when calculating the keyboard height.