fixed triangle reflection direction bug when rotating so that the reflection direction is the nearest 90 degree point