Adjusts the layout inside of didCreateLayer instead of render