Fixed a memory leak with sprite batch nodes.