I used both moveToBack() and moveToFront() exactly the same way. Everything is fine with shape after moveToFront() , but the shape becomes unselectable after moveToBack() operation... It seems the shape is hidden behind canvas after moveToBack(), although it's still visible in the canvas.
-Sharon

It is clearly a bug. Please
It is clearly a bug. Please file it in the trac against gfx, and attach a minimalistic test program. Don't forget to indicate what browser, platform, and renderer you use.
Here's the ticket
http://trac.dojotoolkit.org/ticket/6705
Thanks.
Sharon