Make sure images don't overflow their container on single refined-image page