Fix purple checkerboard error texture flicker on startup due osr renderer resizing slightly later than the panel. Instead check if the osr renderer size changed, instead of panel size.