Aside from that, you do your best to get it in a spot that it likes which is away from other corals and it stays happy enough not to move. But they're tempermental sometimes. I have a rock/flower anemone who has been in the same spot for years and I have an RBTA who moved from the back of the tank to the front of the tank which really thrilled me. Now, 2 days after I moved some Zoas up higher in the tank, he decides he wants to walk over & make friends with them :huh:.
Also, do bear in mind that just because an anemone is in close/touching proximity to a coral does not guarantee that it will kill the coral. Sometimes they do, sometimes they don't.
You have to realize that you're boxing up nature here. You don't have much choice as to what happens.