fixed bug in masonry getscript callback function to reset keybindings