Fixed small bug in rendering condition in self edge