The problem here is that the lines stay on the screen after the sync command updates the screen. This is because the lines are 2d whereas your objects are 3d.
You would be better to create a plane object, texture it with a white box, make the plane object transparent and lock it to the screen. Then position that plane object each game loop over the object screen x and object screen y of the "target" object, providing the object screen x and y are within the boundaries of the screen.
Hope this helps.
Philip
What do you mean, bears aren't supposed to wear hats and a tie? P1.3ghz / 384 megs / GeForce MX 5200 128meg / WinXP home