Fix tree width bug

Fixed bug where trees would not spawn at the edge of the screen if the
width was not a multiple of the obstacle height.