hotfix to image rendering