Remove invisible close buttons from error screens.