Fixed dim button issue.