fixes https://github.com/scottjehl/picturefill/issues/317 and https://github.com/scottjehl/picturefill/issues/262