Wrong resize condition fixed

[Delivers #80191662]