Attempt fix for patrol and behaviour scripts sometimes not creating things at the right position.
* Grab the unit under the cursor a different way.
* Grab the position of the object being created a different way (instead of using the _logic module).