Hands-on Rust: fence post render bug in the dungeon crawler

The player appears to go off-screen anywhere on the left edge (column 0) or top edge (row 0) of the dungeon. I’ve tried debugging, but haven’t been able to figure out a fix. I even happens when running the game from the sample code.