Support object rotation in save-as-image and minimap

Closes #514