Properly keep aspect ratio of 1:1

Signed-off-by: Piotr Bocheński <bochenski.piotr@gmail.com>