Implement positioning by input-focus