Fix for write coordinate function

Adding an address and adding an immediate are very different things.