Added enter/leave tile hooks.