Fixes crash on loading instrument with peak controller
Merge pull request #235 from wongcc966422/issue225

Fixes crash on loading instrument with peak controller