handle invalid sizes (fixes https://github.com/scottjehl/picturefill/issues/313)