Corrected loading of BMP-images.