app:dock:: add a little limits for enter/leave notify.

1. add a little limits for enter/leave notify.
2. changing workarea when changing hide mode.