Just a bug in Vanilla. Optifine's supposed to fix it, but the "D" versions don't seem to.
There was a mod, "3d items," which fixed this and did a few other things. There also appears to be an issue with it, don't try installing it to fix that bug as I get a crash upon MC trying to render an Item Frame with 3d Items.