Fix a crash when drawing elements.

Second parameter to glDrawElements is a count, but elementsSize() returns size in byes.