gtk: Fix the focus event.