Fix constructor being run an extra time when new keyword is omitted