Fix issues with image sizes