Fix vlayout flex calculation