graduated density: fix gradient mouse move when zoomed in.