Fix opacity for event rect