Removes Listener attribute even if here flag set. Bug 15219.