Dispose potPixmap

Closes #2266