fix magellan showing wrong active state fixes #5417

Scrolling uses floored numbers, so you should use a floored number in comparison as well.