Okay, don't take this 100% as being accurate, but it is worth a try. Looking at the code you are using, (point.x < 0) for instance I believe is not going to give you the results you are looking for. I believe you should probably specify it: point.x < '0' instead. Usually 1 and 0 are look at as true and false. It should not always come with the same response. I am not 100 percent positive, but try either specifying a variable or putting single quotes on it to see if it works.
I would download the code for it, but I am at work right now.
: Since no one understood my collision detection problem I have made a site with pictures, etc. The pictures are big and might take long to load. Plz check it out and if you can help me.

:
: The url is -
http://home.iprimus.com.au/laser1/help.htm
: