Re-implemented off-screen drawing check.

Also modified initialization so that it is done within the game.js file,
and also modified trails so that it is not so noticeable to the player.