Fixed the collision box creation bug.