Fixed an strage issue in FireFox where fill pattern/gradient is not always applied.