Fixed bad usage of ref-counted objects in `GLModelManager`