Implemented buggy sprite batching.