Little misc fixes in the wayland platform