Equality case in center plugin

When a margin has already been added, and the new slide width matches the container width (or height matches container height), the old margin needs to be set to zero, otherwise the slide will continue to have the margin, getting nudged out of the container.