Revert "Fix clipping through corners"

This reverts commit 37c3d80e1c1547e0681e89cec2ca41d981b040f9.