Fixed problem with GridOrder Header, when resize crash the application.

Signed-off-by: Kennen <kennen@alcenet.info>