[Bug 628295] Unsigned cursor coordinates cause crashes and invisible walls