Solution to causality paradox upon total reflection