Fix sin cos ... in fraction mode bug