Fix initial display of the directive