Fix aesthetics leaking problem (Fix #225)

I think this prevents the aesthetics from leaking from one layer to another.
Note that I'm new to Julia, so I'm not sure if this is the most efficient way to do it.