Fixed contrast limits to reset after each stem image.

Fixed #34.