canister exploit fix

PR to https://github.com/d3athrow/vgstation13/issues/818,
original bay12 PR : https://github.com/Baystation12/Baystation12/pull/5068
Merge pull request #831 from Walter0o/patch-3

canister exploit fix