Fixed a bug where large images instantly smash the layout. Now this happens after resizing.