fix unneccesary overlay image recalculation