Fixed a bug introduced with the last commit.
Fixed WSWGraphicsTest2.