fixes the issue #3 where a text isn't centered after a frame change