Prevent direct access to imageData in preparation for caching.