Workaround for polymer related layout issue (fixed #666)

@devoncarew

cc @ussuri