Attempt at fixing crashes when dragging and exiting control at the same time