Quick fix on saving bitmaps.