Avoid reallocating the renderbuffer if the layer dimensions have not changed