Fixed rotation in register_sketches.