The keyWindow isn't always an application window

This assert was just introduced with PR #211, but it doesn't appear to be valid. We should just handle this condition like the previous behavior.