Setup size of backgroundsurface depending on rerender distance.

When animated_tiles is switched off, the background will be rendered
into a static image and only renewed, when the player has moved a certain
distance specified in 'movedistance_to_rerender'.
Use this variable as well for the dimensions of the background surface.

Fixes #333
Merge pull request #338 from stefanbeller/master

Fixes #333