fixed X marker problem when zoomed by mouse.