fix incorrect wl_message creation in native layer