Fix focus

Fix #288