I had a feeling that this could just be a browser issue, and it actually was. My bad.
This only happens in FireFox 4 beta (though it works right in a normal forum thread).
It works fine in Google chrome, Firefox 3.x. I'll leave it here as something to keep in mind.
EDIT: Actually, make that an issue with Internet Explorer 8 also.