Fix bug with google layer