app:dock:: make auto hide work(not finish).

some window like deepin-terminal will lead to work incorrectly.