bugfix in resizeItemContainer() to take zoom into account