Fix a bug where engine was always setting up TUIO even when the mode wasn't selected