Adds cursor formatting for icon input to prevent text selection cursor