Fixed an image reuse problem