TIMOB-16326-Make sure that the new height and width is used when calculating the left or top
Merge pull request #5393 from salachi/TIMOB-16326

[TIMOB-16326] Make sure that the new height and width is used when calcula...