"Of a demon in my view" is not part of the main subjecct,
it goes with the " the cloud that took the form."
And the cloud that took the form of a demon in my view
it goes with the " the cloud that took the form."
And the cloud that took the form of a demon in my view