Fix render method so it uses the _grid instance variable.