Okay... First of all, the %pb tag needs to be fixed (and the %ac can be removed from that line), so change the line:
%ac%pb|6|5|171|
to:
%pb|-|5|-|166|6|
(you'll need to figure out the y-position on your own since it's not declared in the old tag)
Second, it may not hurt to put a full-screen viewport definition after the %wd tag:
%V|0|0|-|-|-|-|-|
This *should* hopefully display the WPS as intended, though some small tweaks may need to be made (mainly the missing y-position for the progress bar).
Hope that helps!