Wayland wl_subsurface fixes
This MR fixes two issues, one harmless runtime warning, and a crash. While at it it adds a test for the crash.
This MR fixes two issues, one harmless runtime warning, and a crash. While at it it adds a test for the crash.