Fix facet bug on PyQt4

Add tests

Closes #335
Merge pull request #345 from ChrisBeaumont/335

Fix facet bug