Fix few issues with rotation angle

Authored by mutlaqja on Nov 5 2019, 10:38 PM.