Fixed the tilemap pre/post update hooks.