open up the tool options by double clicking on the tool. There you will see an option for snapping to edges which you can turn off.