Modified insert-definition-at-point to dwim. It should keep point from moving all over the place.