JBIDE-17003 Exception while using DnD from jqm palette into source

Added covertion document offset to visual one