run relayoutText only if frame size has been changed

fix for issue #276