resume without framebuffer error fix