Don't render hidden cursor after regaining focus.

Fixes GH-760.
Merge pull request #761 from jorgenpt/dont-render-cursor-container-after-regaining-focus

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