BF: Window.viewPos and Window.viewScale should be tested using `is None`

Otherwise, if they've been set to be numpy arrays the test will fail with:
`ValueError: The truth value of an array with more than one element is ambiguous`