Changed how the PrefabReference works

I haven't touched any scenes or fixed any errors with others code so be
warned.