when cloning a layer that is loading, make sure numLoadingTiles is reset...

... to 0 on the clone