Fix creation of game objects