Fixing a bug with blank space sitting around the edge of transparent images