TUI now checks asssumes the size of undeplying window