[PLAT-4903] removed duplicate structure check when resizing/updating viewport