Fixing text caret (take 2)

The earlier change fixed the text caret for fullscreen, but broke it for
non-fullscreen.  This new change should fix it in both cases.
Applying fullscreen offsets for text caret

One last thing I missed: we should also apply the fullscreen offsets to
the caret, too.
Removed #include <cryptopp/sha.h> from header files
Fixed the if condition, thankfully it evaluated the same as intended
Removed dobule evaluation of the same condition