Improve drawing of cursor in stlview