Fixing evaluation of status bar height