Improve rotation in rendering.