Protect from firing an event several times after show/hide of matched
element