I try to angle 2 screws inside the outlet box but the outlet box doesnt stay flush against the wall and isn't leveled straight
Determine why it doesn't stay straight and take steps to resolve the isssue. :laughing:
Seriously.....Sometimes a stud will be twisted a bit and you have to move the box in or out to split the difference.
If the drywall is cut straight along the stud and the screws are back into the box far enough to grab the stud, I don't know what the problem could be. Operator error ???
With the screws backed out or removed, hold the box tightly in position squeezing it toward the stud. Use low speed on your driver and run the first screw in, not all the way. Put the second screw in and use some finesse when snugging them up.
Is the side of you box completely flat? Some boxes have protrusions which can mahe them teeter. There may be something on the stud that is putting it out of whack?
I don't know. Look in there and find out.