Make set_window_opacity and set_opacity both do the same thing