Fix broken 2d rotation.