More accurate way to keep the background transparent