Implement window_get_alpha