Disabled isSameCurve (not correct) and added improved selection box for ViewPart