Fixes snap-to-click bug.