Fixed framebuffer completeness check #24