Fix behavior of SDL_GetWindowPosition for invalid input; add test cases to video suite