Fix bug about creating collider