Hardcoded in a max texture value of 2048, fix square images by using the smaller scaling value