Fixed Awesomium instances not being destroyed properly in some situations