Fixed problem with drag and drop in graph module. #3163