Fix to gameobject pool.