Working on my presentation (made in LaTeX beamer), I found that if I used boxed environments, the foreground color was changed after the box. Pretty annoying and first I thought I misused some beamer commands. It seems that this was a bug already fixed in the newest versions. However, my system didn’t yet have that new version so I tried to find a workaround. After a lot of searching and testing, I found one that works.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394792
Just search for the words ‘quick fix’.