fix in the selection render engine