Fixes #195: debug feature now works with rotation.
Merge branch 'master' into fix-195
Merge pull request #453 from PathXL/fix-195

Fix #195
Changelog for #453