Fix bug when combining draw calls for hashing