Use inverte rotation instead of context.restore()