fixed so that focus and click don't close