Properly check for clipboard support

Fixes issues with recently released Firefox 22