Css transitions, broken opacity