Fixed calculating wrong mip map sizes