Server-side position calculation