fixed dim to work with fbo