Snap scrolling positions to nearest point for sharper rendering.

This is a temporary hack, it needs to be facilitated globally in a
better way.