various fixes for IE7/IE8 ::hankey::