Fix #651 (zoom to layer with one point does not work)