Fix bug in inline editing focus handler