fixed #208: fixed a TMXLayer's bug

fixed a TMXLayer's bug