Fixed updating the points on the layout.