Better fix for Uint16->Uint8 scaling