Fix some crashes with registered disposal
Allow registering objects for disposal on the rendermanager (so you can do it given only an IBatchContainer)