added workaround for out of bounds RTE in HBEditor():LineLen()