Moved all code related to screen dimensions from the Particle class and into the Effect class.

Added methods to handle screen resizing, but they've not been tested, but they should work.

Modified all of the other code to work with the changes above.
Removed redundant cast to int.