On shadowing in compact dynamical systems