Bayern Munich squandered the chance to extend its lead at the top of the Bundesliga as it was held to a 2-2 home draw by bottom side Mainz.