fixed frame buffer object, changed bind in constructor