fixed wrongly passed size while rendering indexed buffers