fix flickering of diamond images in chrome