Fixed bug with type member in GameObject class