Check permissions before setting slime size. Fixes #332