Add bound checking to ncurses::Window