Use local variables for fr in deform

Closes https://github.com/PistonDevelopers/graphics/issues/626
Merge pull request #627 from bvssvni/master

Use local variables for fr in deform