bugfix: in TextDelegate, account for orientation changes