Added widget state to enable moving from any point on the window