fixed broken click and place brick functionality