Only use windows that are in a single space to determine the active space.

Closes #2