styles for local rasters weren't passed when creating first style, but showed after the second attempt