Per hint from spumux, top-left is inclusive, bottom-right is exclusive
Fix bug with default transitions introduced by e664d6d5