fix negative tiles being loaded weirdly