If you are too near a wall or ceiling the illusion will not cast.

Unfortunately it assumes the illusion will be a full sized dragon (nothing I can do about this) when it checks for space.



More...