before applying new image layout