Fixed picture window. Doesn't crash anymore.