New York proposing law to ban midcourt celebrations