fixed visual effect for marked square