Fixed bug with event default prevention.