Hacked around in the dialog class to make it work better in zrttrials (mainly make it draw properly when shown in lanscape mode)