Fixes #2
Bugfix for initial layout issues (image is not vertically centered), bugfix for rotation issues.