Fix #648: Correctly size image windows opened from collections