Fixed getBufferParameter and bufferData.