enabled collision detection, but bug with containment