Nets beat Pelicans after Williamson fumble