Update rc.lua to fix errors with window layout functions.