render selection carets over arbitrary DOM elements