Another sanity check to avoid crashing on bad renderers