Prevent invalid context errors when using white button
Merge pull request #1 from tomsterritt/master

Prevent invalid context errors when using white button

Thanks for the fix!