Made Image Mode work with ToolBox