fix maxNativeZoom = 0 race condition, close #3004