The president sparked immediate mockery when he twice flubbed the name of the iconic Yosemite National Park.