bugfixes to gameobjectmanager