Rectangle color variable fix