Added event propegation prevention.