Prevent TypeError on ratingwidget swipes (bug 978046)