fix for pdf rendering, and no gl renderer at the same time