override frames setter to make text batching possible