Fix autocomplete

As mentioned on http://wordpress.org/support/topic/clicing-mention-username-does-not-populate-properly populating the username didn't always work. This was randomly happening depending how fast/slow the panel was hiding.