Fixes ImportError on loading the Image module.