Fix hscrolling of parent node in Layer