To do this, click twice on Rotate in the toolbar.
Please uninstall ANT toolbar, it is the reason for that error.