Fixed a resizing issue

Ordered resizing update operations to avoid leaving blank placeholder
images (lazy loading) unloaded after a big resize event (browser
maximizing).