Stage resize fix
Merge pull request #5 from ibilon/resize

Stage resize fix from @ibilon