Fix some Chrome bugs