Fixes window.location