Bug fix: destroy wasn't properly resetting targets, effects and nodes arrays
Merge branch 'develop' into feature/amd