Keep node icon centered when resizing