This avoids trying to use layers for which vbos are not ready yet
Attach a file by drag & drop or click to upload