fix select text / cursor