Fix 195

This PR rotates the debug grid in the same way as the tiles. The text's rotation is unaffected.