Niners QB wears his own team's cap after photo in Dolphins hat.