[NUI] Fix Weight calculation in LinearLayout