Added translation to origin in IndexedBuffer draw() method.