Fixed unit positioning when the cursor is in motion