In rB0ef8a6179d2a: Cleanup: Move image.c to c++, I changed the parameter
name to match the header declaration (slot) but didn't update the
variable name inside the function correctly.
This prevents slot 0 from being cleared if the last slot to be rendered
was not also 0.