I didn't see this posted already, but there is a corner of the library of the Mage's Guild near the two windows where if you get too close to the corner, you are then trespassing and the NPC in that room begins to call for the guards and attacks you. Nowhere else in the Guild building have I found the same issue... just that corner. I have a screenshot if needed to show exactly where in the room.