Prevent calling unbind on uninitialized viewport