FIX: `refreshTitle` error when navigating to a 404 page