updatelayers updates bbox, fixes #1514