Mimic X11 plugin picture allocation