First off, it looks like you're playing an Emaj. Try switching the position of your middle and ring finger. Put your middle finger on the A string and your ring finger on the D string. This is the common finger placement for that chord. The way you are playing it now, it looks like your ring finger is catching that d string and muting it.