Fixed the 'black background' bug