Many errors are raising.
Code:
Error in Script (Global) function <onObjectLeaveScriptingZone>: chink_1:(271,4-48): attempt to index a nil value
Reason found: when you right-click to rotate camera, from the middle of table, your pointer do 'floats' away. Pointer is object too, but it doesnt have a name parameter, so it raises a ton of errors.

Fix: make check if Object.name exists in the first place.