Fixed connection errors with spriteBuilder and changed pause bug