trigger re-rendering when image style is changed