Leaky cookie

Fixes the cookie so that light doesn't leak out of the edge