fix tilelayer load event #1565