QuickStampManager needs to be deleted before the TilesetManager

This resolves an assertion in debug mode, which is meant to check
whether all tileset references have been properly cleared. But when the
QuickStampManager is not deleted early enough, it won't have cleared its
tileset references yet.