Closed #3344: remove the test codes.

fixed a bug of TMXLayer for sub cache canvases.