prevent movement inside parent node