Fix incompatibility with other widgets

Fixes #159