Why the fuss with config.lua and variable aspect ratios? (Alternative code inside)

You used the other code I listed to create _W and _H right? Did you use the right one per landscape mode? It looks to me like it may have the _W and _H values mixed up - note for landscape you set _W to actualDisplayHeight, not width, and ditto for _H.