fixed frame buffer access in test modes