Add screenshot wrapper to xwd