Update ImageBuffer.cpp

Fixed issue with Ganesh texture bindings becoming corrupted

Corruption occurred when a canvas was used as the source of a texImage2D
Merge pull request #3 from SgtConti/nw

Update ImageBuffer.cpp