properly limit the aspect ration of wide images