[NUI] Fix TabButton's size calculation logic with the latest UX