Fixed OOP bug were constructors were called multiple times

- Previously, if a singleton with a constructor was overwritten, but the constructor was not overwritten, the original singleton\s constructor was called again. This has been fixed.