Fix error on url_split when using move_*_layers functions