Upload textures earlier, handle changed sizes