First, remove enough drywall so the trim can span the jamb and wall without rocking. This solves half the problem. But a regular 45-degree miter won't fit even now because the molding has to tilt ...
so be sure to go back over the bottom half of the baseboard without the drywall scraper. Finally, make sure you're using the right trim paint and that you have properly prepared your wooden trim ...