bug fixed

fix a bug of Container using as a viewport