Prevent infinite loop from :on-hide errors