Set renderer if is different from null