Replaced the sikuli-script.jar file with Sikuli Script X-1.0rc3 version as it seems the capture() method has problems in the new version.