fixed: the selection does not work as expected when the zoomed out/in
fixed: the pencil did not work as expected when zoomed in/out