After a while (approx ~1h of game), the building placement is buggy. When you select a building via the menu icon, the building ghost is placed under the initial position of the cursor but doesn't move with it (as it normally do). The position is updated if you left-click on the building itself. Hence, it is impossible to set the building construction as the left-click doesn't respond as it should do.
I didn't find the right solution from the Internet.