Ammonium chloride , like camphor is sublimable. This means, during reaction, the heat will cause Ammonium chloride to vapourise, and hence, ammonium chloride vapours are formed with ammonia gas.
To prevent this more Calcium hydroxide is used. Calcium hydroxide will absorb excess heat, and prevent sublimation . This prevents loss of ammonium chloride as vapour.