fixed bug with fbo's when resizing the window