Centering and bordering.
Changed this->VIEWX to g->VIEWX (and VIEWY)