Fix wayland client interaction

Could this possibly be `NULL`?