Bugfix: Tiles were generated even if disabled