Call setView only if center is valid
Merge pull request #41 from teamon/patch-1

Call setView only if center is valid