Wmode wrong chars mapping

When I use wmode opaque or transparent firefox and opera can’t handle well the chars mapping. My keyboard starts acting like an english keyboard (and it’s spanish). If I erase the wmode part everything works fine with the chars. I guess this is a bug.
Any workaround?