Fix rendering of error handlers content