Fix rotation

Previously nested rotate blocks would override each other, so only the
outermost block was obeyed. Now each rotation add to the previous
rotation_ value.