qtrle: check for invalid line offset