Prevent drawError issues

If the user manages to draw the window to the right, off-screen
entirely, the width will be zero or negative. Quit early in these cases.
Fix a typo preventing bad redraw issues