Unbind resize callback when deactivating