Fix Bug In Alpha Image

Fix Bug In Alpha Pattern Image Generator