prevent duplicate messages when changing both x and y