Add eyedistance to WALL configuration.
Map scale and mode buttons, apply correct portal frame transformation.