Better collision detection for pieces.