small fix for the text cursor