Fixed coordinate problem

At least some of the problem regarding window and cursor coordinates is
fixed. Viola no longer leaves black dots behind when scrolling. Not sure
everything's completely fixed.