Fixed not being able to undo last image in queue