pointer_input: make edgeBarrier behavior consistent on corners
The pointer should cross a corner as soon as the movement in the barrier zone exceeds barrierWidth. Previously horizontal and vertical movements were separately considered, which made corners harder to cross compared to edges even when the separate corner barrier was disabled.
This is the first commit from !5444 and is less controversial.