Fixed a crash while double-clicking the new Python node

This pull request contains the following changes:

- Fixed a crash while double-clicking the new Python node
- Restored "USE_DSENGINE" preprocessor that went missing in the new branch (it was in ChocoButter)