Use the depth of the window for the border pixmap