Fix caret position

Experimental fix for the caret offset issue. (The previous one that I pushed might have had too little specific of a css selector). Please test it.

Bug #138