Fixed moveiontoboundary