Reworked image sizing to be stricter in image size but have better rendering