am a682a5d8: Make sure that the dimensions are not negative when drawing pending widget

* commit 'a682a5d8c747ac9cbbe10fb791a0548863422270':
  Make sure that the dimensions are not negative when drawing pending widget