patch for bug #120 (misaligned widgets when scaling the prototype image)