Skip creating placeholder if there is no size

fixes #158
Merge pull request #171 from facebook/issue-158

Skip creating placeholder if there is no size