Here's something that I found out: While using the measuring tool, press Ctrl + Shift and drag around. This will spawn some weird teleporting behavior to the measuring line. After that, release the Shift key and then the measuring tool will start snapping; however, the end result is still unusable since the other end of the measure line has teleported to some random position.