res:dock:: fix dock won't be hidden when login.

solution:
delay to update dock hide state.