Fix emulated message boxes/load/save screens.

This is unfamiliar territory to me, but it seems to fix the dialogs...