Make sure heightOfString doesn't break pages