Fix some cursor visibility issues; raise a new window to the front