Fix behavior of customdata when using typed arrays
#7608
+129
−50
Merged