[PATCH 1/1] Update window.c to translate coordinates from 0 to -1