Sounds like it is a targeting bug of some kind then. Even though fog cloud is a AOE spell and you would think that targeting that should not really be a issue in the game. You should honestly be able to place such a spell where ever you want to, not just on a specific enemy.