check visible before torpedo and mine explosions

fixed that keydown bug finally!