fix thumbnails not rendering when opened in narrow window.