Fix formula input layout