Fix tilemap debug not working on native after @gamedevsam's 2fead7db1b3ebac3464540a9827979abf0f6c44c