for most of its footage , the new thriller proves that director m. Nox shyamalan can weave an eerie enchantment and that mel gibson can gasp , shudder and regular tremble without losing his machismo .