Use this method before using method render(Object contentID) or render(Object contentID, boolean clearImageCache)