fix zoom issue for new shapefiles
Merge pull request #636 from vinayan/zoomlayerextent

[Fix #7333] - Zoom to layer does not work anymore for newly created shapefiles