<div dir="ltr">Nothing is wrong with your code. THat is because of clash between bidi and tikz. Please report this on tikz mailing list<br></div>