Fixes bjorn/tiled#510 issue where tmxrasterizer doesn't return >0 on error