Support listening for contextmenucancelled event
Added missing event init required for contextmenuhidden event