Query for wordcloud happens after mouse up