Enforce type
Merge pull request #663 from kenzierocks/fix/npe-on-tile-copy

Better null checks