Fixed particles crashing when source is off window.