Fixed displaying of images with alpha (broken by the previous commit).