Adjust option to repaint on focus and blur