caching of framebuffer sorted out