Bugfixes on GameObject attachment process