Fixed several explosion-related bugs