am 0e56cc9f: Fixing bug where widget could get added to drag layer and not removed (issue 6282757)

* commit '0e56cc9fd6814af5813e73ba7a71bf1d51d4208a':
  Fixing bug where widget could get added to drag layer and not removed (issue 6282757)