Fixes issue 520: r1425 MapTileProviderBase NullPointerException