Fixed collision bug.