implemented fix from https://github.com/mapbox/tilemill/issues/1244