Repaired permalink in canvas mode