Fix visual bug when dragging a widget on Firefox

Prevent visual bug when scrolling to the bottom of the page and then drag a widget. Widget content appeared at the upper left of the mouse cursor.