Fix bug: canvas not hidden because opacity can't be negative