Don't render hidden cursor after regaining focus, fixes #760

Fixes GH-760.