Yes. Find out why you're so insecure/jealous in the first place and eradicate it. This will not only help you out in your relationship but in the future.
The issue is not with your boyfriend or the fact that he was cast in a main role. It's you...and unfortunately issues like the one you have has been known to break down relationships.