Fix layout render on response render