Added the ability to place structures by clicking.