Only create a placeholder with a valid size

fixes #179