Fix invalid usage of texture->getSize() where actually texture->getOriginalSize() was meant