Reverted RMG bug introduced in https://github.com/vcmi/vcmi/commit/6da79d01d7f3c6ddf268173e10b07f4f4ee6378e