fixes for:
scroll directions when cursor had flipped its X and Y wasn’t looking for the correct “invert” behaviour, so would scroll in the wrong direction
when cursor was off the bottom of the screen an infinite loop could happen with the “cursor up” to bring the cursor back onto the screen if certain cursor behaviours were set
incorrect off-screen detection meant that for some combinations of cursor behaviour a scroll would get forced one row early
fixes for: scroll directions when cursor had flipped its X and Y wasn’t looking for the correct “invert” behaviour, so would scroll in the wrong direction
when cursor was off the bottom of the screen an infinite loop could happen with the “cursor up” to bring the cursor back onto the screen if certain cursor behaviours were set
incorrect off-screen detection meant that for some combinations of cursor behaviour a scroll would get forced one row early