fix for ImageBitmap size
fix for reading 16 bit png