Added batch.begin() and batch.end().
After game end current method must be terminated.