Fixed local functions

Minor optimisation but an improvement is an improvement. Sticking with
Pixies if I can change their opacity.