Thank you!
The player always gets ejected towards whichever side of the block is closest (even if there is another wall there).