don't send ace null cursors

also only tell ace to draw selections when the range has non-zero area