fix for rendering artifacts, if sizes where indeed the cause of them