Return drawnImage and isCached flag instead of setting the image