Not sure, at least when facing it, there it happens. While when being not close to a wall, my protagonist just jumps upright (what I was expecting even when facing a wall and clicking the "up"-arrow).