A fix for LI display block issue.