Workaround for draw rectangle bug