return nullptr after accessing objects in other domain was denied

Fix rogerwang/node-webkit#1573