This fixes a texture resizing issue when creating multiple windows with OSR and shared textures enabled.