I had the same crash but found a work around by moving the code in GetMousePositionInViewport to OnMouseMove itself.
I also submitted a bug report regarding the issue. [bug?] UMG Dragable Window Crash - Programming & Scripting - Epic Developer Community Forums