Fix logic error in window.performance fallback