Fixed blockrotation.py