Refactor sprite vertex array rendering procedures.