Improved CreateBitmap