Search for an unused color even if no transparency available
Fix alpha threshold