Now able to keep the aspect ratio when scaling (may be buggy though)