Fix position timeout issue