Added options to disable horizontal and vertical world wrapping individually

I recently found myself having to rewrite the wrapping checks manually to handle this situation. This is a backwards compatible change. Just a convenience, it can be nice to separate how the sprite wraps.

Feel free to edit the implementation. I considered new helper methods such as `world.wrapX()` and `world.wrapY()`, but thought it would add too much code.