Domain mapping breaks image/media upload

When using Domain Mapping (I use Doncha's development version from the repository because it handles cookies and ajax a little better) the media upload lightbox gets broken. I haven't tested it using WPMU DEV's domain mapping plugin.

The overlay/modal will load but everything inside the modal fails to load. Obviously this is because the content of the box makes calls to /wp-admin to load the media uploader. I'm seeing lots of calls in the source code to uploader-related javascript and they seem mixed between using the mapped domain and the non-mapped domain. TinyMCE works fine, but trying to load the media uploader fails.

Could I make a request to get this fixed in an update and to make the Wiki plugin compatible with domain mapping? or, is there a function/code snippet that I could add to the themes functions.php to account for this?