fix bug:when rotate view to Landscape mode,sometime row and column are wrong.