Fix Regression caused by Fix of Bug423106

Signed-off-by: Pengcheng Bian <pbian@actuate.com>
Fix the GridItem outofIndex

Signed-off-by: Pengcheng Bian <pbian@actuate.com>
Merge pull request #24 from TerryPCBian/master

Bug 446077