removed back reference to PImage from ImageCache (issue #1391)