Fix screen height checking.