Fixed area mapping when the actual image size is not known yet.
Fixed rotation again. Additionally, the fetched image size is now stored if the database is stored.
Minor style adoption for Viewer/TaggedArea.