Improve rendering of images