Fix layout weights