fix crash when drawing particles in invalid coordinates (using console)
Merge remote-tracking branch 'origin/master'