issue #3069: Removing unused codes in UILayer.
issue #3069: Renaming 'removeListeners' to 'removeEventListeners'.