fixed issue in framemethod tikz

http://tex.stackexchange.com/questions/121890/why-is-mdframed-inserting-
a-blank-page