Ok. As far I can remember I've seen that "bug" too.I saw it when trying to settle in a forest tile with essence.
There was a condition implicated? Like capturing an outpost at the same turn, or fighting in an ogre camp?
I only remember those two. But once settled, I tried to cast and it did not allow, saying forest tile but without realizing the new city. So strange. But same than you, with the city expansion I eventually could cast, but not in that tile.
Now you reminded me that...maybe anyone more noticed it?