Fixed painting and item frame mirror problems

This will solve the painting mirror problems for 1.8 but will likely not work for 1.7 and before as according to the wiki the TileX/Y/Z refers now to the block its in rather than block its placed on as before. And There is no way to really detect the version(Mojang should version their nbt for this very reason).