Improve robustness of star image rendering