Fixed img.PNG problem