There are some hardcoded events that trigger a detection event. For example if you smash a window while the owner is inside the cops automatically gets called. But you are still invisible. There are also other events if you walk into a specific area the game automatically triggers a detection event. But again besides this event got triggered nothing happens.
These events are usually helpers to simulate a complex AI detection although the AI itself has nothing to do with it. Anyway I've improved the stealth cheat a bit so the owner itself will not react to these events. Will be posted soon.