Fix issues with OpenStreetMapViewer and rotation. Fixes #28.