Fixes issue where listeners were incorrectly removed from layers when calling the removeAllComponents function.
Fixes issue where listeners were incorrectly removed from layers when calling the removeAllComponents function.

Valkryst/VTerminal