made the no-accelerated-graphics case work and not fail out.