change the rendering mechanism of image panel