Fix for FF and old Opera