Element to bitmap - fix shifted image issue