Added quick fix for weird selected square hover behaviour.