Thanks scotty,
Yes this issue is only with the triangular shape. I've created another shapes which has normal bounding box, just the triangle has a tilted bounding box.
And about deleting the preferences folder, where should I find it in mac? Do u think this would solve the problem? or wouldn't...