Fix bug in drawing selection behind collaping widget at end of line