Fix broken drag'n'drop after setting always-on-top

Added workaround for Qt bug.