I had this same problem. I fixed it by putting the colorRect onto a CanvasLayer since my scene main node was a Node2D.

GitHub-flavored Markdown & a sane subset of HTML is supported.