Prevent NPE on drag events
Merge pull request #42 from mleduque/IDEX-1544

Prevent NPE on drag events