Got the problem solved, it seems like I had entered some wrong details using graphics.newOutline() …
Thanks!