Remove unused "if" from events callEvents.
Added layer tile onload event.