Fixed layout before saving as JPEG