Fixed bug where rounding errors could cause content to be cut unnecessarily. Fixed bug in cut text which could cause duplicated words in some cases