Prevent path color from reverting