Removed AllocateTextures from On***SizeChanged.