D3D9 Sprites, Backgrounds, and Globals

My little tile trick for sprites and backgrounds didn't work with NONPOT
textures. Also mouse_x and mouse_y and other globals are not getting
updated under D3D 9, added mouse_x and mouse_y temporarily to
screen_redraw, will file another bug report seperately.