Fixed black screen when connecting