Ensured graphics are not initialised multiple times.