Fix freezing when navigating away from fullscreen windows

Fixes #100