Fix calculated attribute formula layout