fix resize opacity