Make current-pixel-density/basic.html more robust.