Ajust cursor height based on lineHeight