Move your mouse to rotate, click to move.
Sorry no Z-ordering. Single colour should resolve the problem, but multi is more spectacular :P There is something wrong with initial rotations generator.