Add .gitignore
Prevent underflow when the requested window height + position is large
than the screen height