Ignore bounds of empty shape paths.
Fix stage bounds.
Merge pull request #811 from tobeytailor/gfx

Fixes bounding calculation