bugfix: sleeptime in XWindow was overflowing