[HexEditor] Fixed caret painting.