Add selection functions to PixelCanvasElement