Bug Fix

Fixed a leak in ImageCache