Small fix brackets highlighting on keyPressEvent