deleteModel: correctly destroy and remove models
GetReferenceLocation: use camera when editor is active