Prevent default action on command keyboard shortcuts