modified FrameBuffer creation