Bug 1033260 - [Messages] Contact suggestion list didn't dismiss when focus on subject and message input field

- Sync the patch in master and change the adjust a little bit in unit test