Fixed selecting all text when nothing highlighted.