Fixed sdl2 window initial position

This PR replaces https://github.com/kivy/kivy/pull/2518 (rebased to avoid a merge conflict). It's otherwise identical.

Like that one, it fixes https://github.com/kivy/kivy/issues/2515 .