Image was null after some OP

Not easy to figure out what was wrong.