Fix contrast bug