Some consistency fixes for array buffers