added possibility to change image mode during game