Fixed GameObject constructor