dock:: fix hide problem.

tower:https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/0544fff604a24825939fa9affbc5e3d1/
Change-Id: I01f915183ad846e3541d346ef06491c7ddb1bcf0