Implement to keep aspect ratio
Bugfix