With help from Nature.com's birdwatching forum, we identified the bird as a tufted titmouse. There was some thought that it might be a nuthatch because of the apparently short tail, but that's an optical illusion. The tail is hidden behind the leaf.