fix out of range alpha value for rgba color