render: Implement NewImage and NewDrawable.