Change size of pixmap to what is actually displayed