Ensure framebuffer textures are unbound before writing