update raster output to continue using old behaviour when !is.na(tikzRasterResolution)