Debug collision detection, clipping when drawing