apply opacity on canvas el