Fix for #183, tested for IE7.
0.2.77