Fix MouseInput and Trigger components list that would not be cleaned properly.
Some minor fixes.