Fixed some missed things in helpers which should increase speed a bit more.
Also fixed so rotation works as expected with thumbnails being updated etc.