Fix image importing.