Fix Image and ImageDraw imports to provide Pillow compatibility.