Change wclear to call clearok instead of wrefresh

Fixes #1149