Fix nil reference in BridgeSupport.lua

_curObj was being set to nil in line 136. By keeping a local reference, setting it to nil won't affect lazy loaded functions.