fix shadow render if offsetX is 0.0
Merge pull request #100 from alexeypegov/master

fix shadow render if offsetX is 0.0