getDir on document after setDir returns "rtl"