fixed preventContextMenu