using Camera Culling masks with ARkit

I have been trying to implement culling masks to my model with the ARkit plugin, I have managed to set up the model using the standard UnityARkitScene, but for some reason when I deploy my own script to switch between different layers, the model moves to a new location in the AR scene every time I switch off layers in the program.
I am using the UnityARHitTestExample script to position my model in the scene, but I cannot figure out why the position of the model changes when i run my own script below??

this is connected to a button:
if (siteModelVisible==false){
cam.GetComponent.().cullingMask = 1 << 10| 1<< 11;
}
please could someone help me figure out why the model position in AR is impacted by switching off layers?

Many Thanks

Ok so it appears touching the screen to press the buttons was actually moving the model to the location of the buttons.