move workarounds into DockQuickWindow::show()

Change-Id: I3f3291295c9785a937f669416ffe8ccb0378505f