Fixed Hex::fromString not working correctly