fix grid box rendering issue
Merge pull request #1360 from lynnaloo/panels-refactor

Fixed grid-box rendering issues