Fix bug: focusing to entries doesn't work correctly