changed xy-coords for divdraw