Bug fix: destroy wasn't properly resetting targets, effects and nodes arrays