Better fix for missing cursor when completion popup opens