Attempt to fix TypedArray problems.