fix token frame not being correctly layout when screen is rotated