Draws pixels in a canvas via websockets