fixed firefox rendering of linear gradient
fixed a warning during test