Add workaround for browserkit bug fix