Code completion popup: fix issue where popup does not show (even with ctrl+space)
Hide popup when it is visible and we moved out of the current word