track only those points which are touching the window in Z coordinate