Merge "Fix drag and drop and resize freeform window broken on secondary display" into tm-dev