minor improvements to FrameBuffer