fixed potential divison through zero (closes #499)
Merge branch 'master' of github.com:PrimaryFeather/Starling-Framework