Altered framebuffer to match with the new device interface