pointerdetector2: Fix problem drawing the calibration window

Change-Id: I87791c8d216947f5e1f84750ba0519df5b96f507