Fix clipping through corners