UI widget disappears when dragged

When I am dragging a UI widget on a tablet it seems to disappear. Why is this? When I drag the UI widget with a mouse it follows the mouse cursor, however when I drag the UI widget with my finger it goes off-screen. I have enabled “use mouse for touch” in project settings. The widget still seems to go off-screen.