Fixed the crashing issues with applications such as firefox.