fixed 2ms window problem, now have a dimensions mismatch later in the same function