autotests: Prevent zero page access
X11 clients might outlive Tabbox. Therefore we need to guard against that case.