fix for drawing selection over invisible newline