Fix open in new window browser behavior