wayland/shm: prevent the window from flying away

With the new xdg_shell the problem will be no gone by itself.