Fix Floobits/flootty#16

See the bug report for more info.