GBE-542: check for resize should be on dto-based width and height