Bayern Munich were held to a draw by Nurnberg but still extended their lead at the top of the Bundesliga after Schalke slumped to defeat.