eliminate images "jumping" effect

after loading the properties in image viewer
Merge pull request #5775 from Simek/master

eliminate images "jumping" effect after loading the properties in image viewer