Temp Bitmap Generation change

Idk if this is useful, but it helped me