Fixed bug in rendering contact points