Only parse global and screen stylesheets

Fix and test case for issue #31