Fixed instanceof

Correctly detecting if the Sandbox object was called with the "new" constructor.