Why in first case you are clearing surface with white color ($FFFFFFFF ?) and in second case with black (0-0-0-0) and expect the same results? You are setting both color and alpha to different values!