Fixed duplicate controllers issue

Ready to merge.
Fixes https://github.com/LMMS/lmms/issues/189