Update center on zoomend

Additional fix for PR #52

Tested, works fine for me :-)