Fix rotation for transform adaptor.