pointer input: always confine pointer to screens
Checking if the pointer needs to be confined before doing std::clamp
on
the position is useless and causes problems. With this change, the pointer
will always be confined to exactly the screen, without any fractional offsets.
(cherry picked from commit 520fa304)