Fix the issue when hour name initially was shown for incorrect orientation