Fixed rendermode on wrong value after selecting different image and UI tweak