Fix crash when running the image console command
Merge branch 'hotfix/1.2.10'