Fixed for the next build. This occurs when trying to use the Attachment Manager to attach an Image page attachment that was originally posted by another user. (Direct use of the BB-Code is not affected).
The fix for this was very hack-ish, so no patch instructions - users will have to wait for RC 2 to get the Attachment Manager to work correctly with wiki images.