Added working support of framebuffer as source buffer