Fixed problem with non-transparent PNG images

This should fix the problem with most non-transparent png images.