Window repositioning script for MacRuby