fixed inViewport of particles not being set correctly