fix stylesheet gradient index for stroke and fill

fixes Issue #24