Window opacity not being effected in a method? - C#