Href exploit fix.

Couldn't reproduce exploit with my resources, but this fix compiles and allows the spawning of items so worst-case scenario is that it does nothing.