Fix usage of BaseModule.setInterval()