Bugfix, make smooth endcapping mark cellentityids properly.