fixed bug in frame buffer shaders when resizing windows