Focus target right after closing the context menu

This is an improvement for Firefox because in Firefox some timing issues
occur preventing the right focus to be set.
Move to version 1.8