Fix tile by-ref memory corruption stupidity.