Fixed re-parenting bugs.
Fixed map reloading bugs.