Fixed comparison against few function arguments from using strict equality === with null to equality == as undefined values wouldnt cause the default values to be assigned which could cause leaks as cleanup wouldnt get triggered and default zOrdering wouldnt be set properly
Merge pull request #888 from tomasztunik/master

Fix in logical comparisons of undefined argument values against `null` for setting default argument values