Fix problem of particles showing up in odd places by making global::maxVelocity a prime number and extending window bounds.