Convert corner walls to be diagonal to reflect

There is probably a math formula for this, but I'm just stupid to
figure it out, so just manually check for corner walls.

Patched rot.js for its checking of neighbors in Cellular map gen.