fix rotation bugs
Merge branch 'bugfixes' of github.com:capensis/canopsis into bugfixes