Solved bug with patterns and added UI to the first scene of the game